package com.netstar.salesman_90dsp;

import roboguice.activity.RoboActivity;
import roboguice.inject.InjectView;
import android.content.Context;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ImageView;
import android.widget.TextView;

import com.loopj.android.http.AsyncHttpClient;
import com.netstar.salesman_90dsp.tool.DialogTool;
import com.netstar.salesman_90dsp.tool.WaittingDialog;

/**
 * activity基类
 * 
 * @author zhangshuai
 * 
 */
public abstract class TitleBaseActivity extends BaseActivity {
	/**
	 * 标题
	 */
	public @InjectView(R.id.include_title_tv_activity_name)
	TextView include_title_tv_activity_name;
	/**
	 * 标题右侧按钮
	 */
	public @InjectView(R.id.include_title_bt_right)
	Button include_title_bt_right;
	/**
	 * 标题左侧返回按钮
	 */
	public @InjectView(R.id.include_title_bt_left)
	Button include_title_bt_left;

	@Override
	public void setOnclick() {
		super.setOnclick();
		include_title_tv_activity_name.setOnClickListener(onViewClicklistener);
		include_title_bt_right.setOnClickListener(onViewClicklistener);
		include_title_bt_left.setOnClickListener(onViewClicklistener);
	}

}
